﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;

namespace PS.WssSync
{
    internal static class HtmlCleanup
    {
        public static string RemoveDesignerTags(string text)
        {
            return Regex.Replace(text, @"(__designer\:(Values|Preview|Templates)|__Preview)=""([^\""]*\n)*[^\""]*\""", string.Empty, RegexOptions.Multiline);
        }
    }
}
